package edu.dayu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import edu.dayu.mapper.PatientMapper;
import edu.dayu.model.user.Patient;
import edu.dayu.service.PatientDubbo;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class PatientDubboImpl extends ServiceImpl<PatientMapper, Patient> implements PatientDubbo {

    @Override
    public Patient getById(Long id) {
        return baseMapper.selectById(id);
    }
}
